//
//  ZYDeviceViewModel.h
//  YiLin
//
//  Created by Zyark on 2018/6/19.
//  Copyright © 2018年 Zyark. All rights reserved.
//

#import "ZYBaseViewModel.h"

@class HFSmartLink;
@interface ZYDeviceViewModel : ZYBaseViewModel
@property(nonatomic,strong) HFSmartLink *smtlk;

/**
 wifi
 */
@property(nonatomic,copy) NSString *ssid;

/**
 密码
 */
@property(nonatomic,copy) NSString *password;

/**
 设备名称
 */
@property(nonatomic,copy) NSString *name;

/**
 所属住宅Id
 */
@property(nonatomic,assign) NSInteger houseId;

/**
 房间类型
 */
@property(nonatomic,assign) NSInteger roomType;

/**
 设备类型
 */
@property(nonatomic,assign) NSInteger deviceType;

/**
 型号
 */
@property(nonatomic,copy) NSString *model;


/**
 设备mac地址
 */
@property(nonatomic,copy) NSString *mac;

/**
 是否修改
 */
@property(nonatomic,assign) BOOL isModify;

/**
 设备连接
 */
@property(nonatomic,strong,readonly) RACCommand *deviceConnectCommand;

/**
 设备修改
 */
@property(nonatomic,strong,readonly) RACCommand *deviceModifyCommand;


/**
 获取设备socket ip地址
 */
@property(nonatomic,strong,readonly) RACCommand *deviceSocketCommand;


/**
 设备列表
 */
@property(nonatomic,strong,readonly) RACCommand *deviceListCommand;

/**
 设备删除
 */
@property(nonatomic,strong,readonly) RACCommand *deleteCommand;

/**
 设备状态改变 离家模式和在家模式
 */
@property(nonatomic,strong,readonly) RACCommand *statusChangeCommand;

@end
